package com.alu4r.atcrowdfunding.manager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/role")
public class RoleToPageController {

    @RequestMapping("/toAssignPermission")
    public String toAssignPermission(){
        System.out.println("跳转到修改许可");
        return "role/assignPermission";
    }

    @RequestMapping("/toAdd")
    public String toAdd(){
        System.out.println("进入添加节点页面");
        return "role/add";
    }


    @RequestMapping("/toIndex")
    public String toIndex(){
        System.out.println("进入角色维护页面");
        return "role/index";
    }
}
